home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Electronic Messages / USEnet Digests / USEnet Vol. 4 / USEnet 4.41 < prev    next >
Encoding:
Text File  |  1988-06-15  |  24.2 KB  |  637 lines  |  [TEXT/ttxt]

  1. 28-Mar-88 11:59:39-PST,25408;000000000000
  2. Return-Path: <usenet-mac-request@RELAY.CS.NET>
  3. Received: from RELAY.CS.NET by SUMEX-AIM.Stanford.EDU with TCP; Mon, 28 Mar 88 11:57:16 PST
  4. Received: from relay2.cs.net by RELAY.CS.NET id bh16570; 28 Mar 88 11:52 EST
  5. Received: from relay.cs.net by RELAY.CS.NET id aa19415; 28 Mar 88 11:31 EST
  6. Received: from sdr.slb.com by RELAY.CS.NET id ah19391; 28 Mar 88 11:27 EST
  7. Date: Mon, 28 Mar 88 09:34 EDT
  8. From: Jeffrey Shulman <SHULMAN@sdr.slb.com>
  9. Subject: Usenet Mac Digest V4 #41
  10. To: usenet-mac@RELAY.CS.NET, PIERCE%HDS@sdr.slb.com
  11. X-VMS-To: in%"usenet-mac@relay.cs.net",in%"PIERCE%HDS@SDR.SLB.COM"
  12.  
  13. Date: Mon 28 Mar 88 09:34:10-GMT
  14. From: Jeff Shulman <SHULMAN@SDR>
  15. Subject: Usenet Mac Digest V4 #41
  16. To: Usenet-List: ;
  17. Message-ID: <575544851.0.SHULMAN@SDR>
  18. Mail-System-Version: <VAX-MM(218)+TOPSLIB(129)@SDR>
  19.  
  20. Usenet Mac Digest     Friday, March 25, 1988         Volume 4 : Issue 41 
  21.  
  22. Today's Topics:
  23.      Transputer development card for MacII
  24.      MacApp Browser
  25.      Help for a sick friend...
  26.      Re: Hard disks
  27.      HD
  28.      PrintMonitor -- Out of Memory Problems
  29.      Re: Photo of Mac II Monitor
  30.      Re: MacApp Browser
  31.      nVIR virus - you may think you don't have it... (2 messages)
  32.      Re: PrintMonitor -- Out of Memory Problems
  33.      QuickerGraf 1.1
  34.      Re: Prototyper vs. Doing it Yourself
  35.      PrJobMerge, etc.
  36.      Hard Disk Icon
  37.      Filling an arbitrary quardrangle
  38.      Asher Engineering ADB Trackball review.
  39.      Re: Quickergraf bugs...
  40.  
  41. ---------------------------------------------------------------------- 
  42.  
  43. From: vsl@litp.UUCP (LEIGHTON 336.25.25 p5392)
  44. Subject: Transputer development card for MacII
  45. Date: 17 Mar 88 18:06:27 GMT
  46. Organization: L.I.T.P, Universite P7, PARIS
  47.  
  48. Where can I find development systems with at least two transputers
  49. (T800), for the Mac II ? (I know of many systems for the IBM-PC...)
  50. Thank you for your answers!
  51.  
  52.         Vicente Sanchez-Leighton
  53.  
  54.         ...!mcvax!inria!litp!vsl
  55.  
  56.  
  57.  
  58. ------------------------------
  59.  
  60. From: ranson@crcge1.UUCP (D. Ranson CNET)
  61. Subject: MacApp Browser
  62. Date: 16 Mar 88 08:13:39 GMT
  63.  
  64.  
  65. I am having difficulties using the MacApp Browser distributed by the
  66. MacApp Developpers Association. I have parsed successfully all the
  67. source files of MacApp v1.1.1, but the browser is unable to find the
  68. source code for most of the methods (especially those in UMacApp). Other
  69. units, e.g. UObject or UList, give correct results. Am I missing
  70. something, such as a specific order to parse the files?
  71.  
  72. A totally unrelated question: what is the status of the new Mac
  73. newsgroups (programmer, hypercard)? The news sites I have access to in
  74. Europe have not received the creation messages. Are these groups "US
  75. only"?
  76.  
  77.     Daniel Ranson
  78.     ...!mcvax!inria!cnetlu!ranson
  79.  
  80.  
  81. ------------------------------
  82.  
  83. From: phd@SPEECH1.CS.CMU.EDU (Paul Dietz)
  84. Subject: Help for a sick friend...
  85. Date: 18 Mar 88 11:53:57 GMT
  86. Organization: Carnegie-Mellon University, CS/RI
  87.  
  88. I guess it was bound to happen sometime. After three years of Mac-ing
  89. (first a 512k, and then a II) I just had my first hardware failure. A
  90. friend of mine was using my MacII, and decided he didn't like the
  91. keyboard arrangement. So he unplugged the keyboard, and apparantly
  92. accidently connected the two desktop bus ports directly together for a
  93. moment. (I was in the ol' WC while this was happening...) Anyhow, the
  94. machine no longer responds to either the mouse or the keyboard.
  95.  
  96. The tale continues.
  97.  
  98. I took my sick friend to the campus computer store for repair. I
  99. explained the situation, and suggested that the output drivers on the
  100. ADB (Apple Desktop Bus) had been fried, and that these should be
  101. replaced first. 
  102.  
  103. Did I mention that this all happened a few days out of warrenty?
  104.  
  105. They agreed with my diagnosis, but informed me that as an authorized
  106. Apple dealer, they are not allowed to replace chips. Instead, they swap
  107. the entire logic board. Estimated cost: $320.
  108.  
  109. Did I mention that my thesis is on this machine, and that I'd really
  110. like to graduate?
  111.  
  112. So, I swallowed my pride, and my wallet, and gave the go ahead.
  113.  
  114. Has this happened to you? I noticed a couple of machines in the computer
  115. store with the same problem. Apparently it's quite common. So why
  116. doesn't Apple socket these parts, and explain to their dealers how to
  117. replace them? Are there people out there who do these sorts of
  118. "unauthorized" repairs?
  119.  
  120. My need for my machine was desperate this time. But next time, I'll fix
  121. it myself. Now, all I need is a good set of schematics, and a source for
  122. Apple parts. Will Apple sell these? Or is it too busy unloading money
  123. from the trucks that just keep rolling in...
  124.  
  125. (By the way, just in case you think that Apple-care is a good deal, it
  126. would have cost me about $1000 for the last three years, while I've only
  127. had this one, "not-my-fault" problem for ~$300.)
  128.  
  129. I will download sympathy email cards as soon as my machine is feeling
  130. well enough...
  131. -- 
  132. Paul H. Dietz                                        ____          ____
  133. Dept. of Electrical and Computer Engineering        / oo \        <_<\\\
  134. Carnegie Mellon University                        /|  \/  |\        \\ \\
  135. --------------------------------------------     | | (  ) | |       | ||\\
  136. "If God had meant for penguins to fly,             -->--<--        / / |\\\  /
  137. he would have given them wings."            _________^__^_________/ / / \\\\-
  138.  
  139.  
  140. ------------------------------
  141.  
  142. From: gillies@uiucdcsp.cs.uiuc.edu
  143. Subject: Re: Hard disks
  144. Date: 18 Mar 88 04:43:00 GMT
  145.  
  146.  
  147. The 40Mb and 80Mb Apple (and CMS) disks are made by quantum.  The access
  148. time is 26.5ms on these disks.  So the 60Mb disk is slower (40ms).  In
  149. fact, 40ms is "unusually" slow for a 60Mb disk.  That's probably part of
  150. the reason why they're cheaper.
  151.  
  152. Seagate is the highest-volume manufacturer of sealed hard disks (this
  153. from a seagate employee).  I think they make more than 1 million disks
  154. per month, and have almost half (50%) of the market for hard-disk units.
  155.  So it is understandable that their drives are the cheapest.
  156.  
  157.  
  158. ------------------------------
  159.  
  160. From: ec120afr@sdcc7.ucsd.EDU (The Alt)
  161. Subject: HD
  162. Date: 18 Mar 88 21:05:04 GMT
  163. Organization: University of California, San Diego
  164.  
  165. I bought a Mac SE through the university. From day 1, I had problems
  166. with the Hard Disk. When not installed as the startup disk, it
  167. periodically refused to show up on the desk top. If I turned the machine
  168. off and tried again, I had a good chance of getting it to appear. I have
  169. a similar problem now that it is the Startup disk. Sometimes it works
  170. and other times it doesn't.
  171.  
  172. I took it back to the school, an authorized apple dealer, and had them
  173. check it out. "Nothing is wrong with it," they told me. "You can try
  174. putting a newer version of finder and the system on, but I don't know
  175. what else to tell you." So I did. Guess what, it still does it. I don't
  176. know if it's coincidal but, it seems to be doing it a little less
  177. frequently. However, it still does it. 
  178.  
  179. Has anyone out there had a similar experience?(With the machine or the
  180. dealers) Any suggestions? Help
  181.  
  182.                                            Ron
  183.  
  184.  
  185. ------------------------------
  186.  
  187. From: jdm@ut-emx.UUCP (Jim Meiss)
  188. Subject: PrintMonitor -- Out of Memory Problems
  189. Date: 18 Mar 88 22:38:19 GMT
  190. Organization: The University of Texas at Austin, Austin, Texas
  191.  
  192.  
  193.     I have been having problems lately using Background Laser printing with
  194. our Laserwriter Plus, from my MacPlus running Multfinder. What happens
  195. is that PrintMonitor tells me it has a problem, which "Not enough memory
  196. to print this now, you might close a desk accsory..."  (note the
  197. mis-spelling!) 
  198.     Well, I get this even when I have no other application running besides
  199. the finder, leaving me some 600K free. While I was investigating this I
  200. noticed that Printmonitor was filling up its default 78K partition, and
  201. suspecting this was the problem I increased it to 120K. Voila, no
  202. problems.
  203.     This problem is intermittant. It doesn't happen for all files,and I
  204. just tried setting the partiton back to 78, and reprinting the TechNote
  205. that I was just having trouble with--while running Versaterm--and it
  206. worked. Nothing like intermittancy to cloud the issue.
  207.     Furthermore, I don't seem to remember having this problem a few weeks
  208. ago....so what could have changed? I'm using Font/DA Juggler, but the
  209. problem persists when I turn it off. I have the Application Menu INIT,
  210. and the AutoBlack Screen Idler installed.
  211.     Anyone else have this problem?
  212.     Also, why does Apple have such an uniformative message for this
  213. error--and why does the message have a spelling error in it :-) !!
  214.  
  215.  
  216.                 Jim Meiss                
  217.                  jdm@emx.utexas.edu
  218.                 jdm%uta.MFENET@nmfecc.ARPA
  219.  
  220.  
  221. ------------------------------
  222.  
  223. From: jnh@ece-csc.UUCP (Joseph Nathan Hall)
  224. Subject: Re: Photo of Mac II Monitor
  225. Date: 18 Mar 88 21:36:57 GMT
  226. Organization: North Carolina State University, Raleigh, NC
  227.  
  228. In article <4783@ecsvax.UUCP> khj@ecsvax.UUCP (Kenneth H. Jacker)
  229. writes:
  230. >
  231. >    I need to make color slides of a Mac II screen.  My
  232. >system uses Apple's High-Res RGB monitor.
  233. >
  234. >    Any suggestions regarding film type, shutter speed,
  235. >aperture, and/or exposure time?
  236. >
  237.  
  238. I've photographed a few CRTs.  While I can't give you exact exposure
  239. info I can offer a few helpful hints.
  240.  
  241. 1)    The room must be DARK.  Completely.  Any light spilling onto the
  242.     screen will ordinarily appear as a dim, putrid green (if your
  243.     lighting is fluorescent).  If you can't darken the room completely
  244.     it will be necessary for you to construct some sort of shade
  245.     around the screen.  Also you'll want to remove fingerprints and
  246.     dust, other crud, etc., from the screen.
  247.  
  248. 2)    Use shutter speeds substantantially longer than the display's
  249.     refresh rate.  I suggest 1/8 second or longer.  I've usually
  250.     used 1/2 second or more.  Obviously you'll have to set your
  251.     exposure manually.
  252.  
  253.  
  254. 3)    Most electronic metering systems will not properly meter a
  255.     flickering source (like a CRT).  Older "electromechanical" meters
  256.     will.  (Luna-Pro, cheap handheld meters, most needle-type meters
  257.     in general.)  You can't use your camera's meter to
  258.     read the exposure, unless it's of the electromechanical type.
  259.  
  260. 4)    When you meter the screen, turn off the lights and place the meter
  261.     directly on the display, pointing it at a NEUTRAL, relatively dim
  262.     area.  If you're photographing a display of lines, you'll have to
  263.     meter something else to get your exposure.  Meters are calibrated for
  264.     a reference subject of 18% reflectance.  Ideally, you'd want to
  265.     meter something that was 18% as luminous as your display's "white,"
  266.     but there's usually no practical way to do this.  So you'll have
  267.     to guess, and...
  268.  
  269. 5)    BRACKET YOUR EXPOSURES.  A minimum of three exposures per display
  270.     is advisable.  If your exposure turns out to be 1/4" at f/8, you
  271.     should take 1 picture at 1/4" as planned, and then one at, say,
  272.     1/6" and one at 1/3".  If you're not too sure about what you're
  273.     doing I suggest you fire off a test roll or two.  Write down
  274.     EVERYTHING as you conduct your test.  Bracket by half- or third-
  275.     stops in both directions from your estimated exposure, 1 or 2 stops
  276.     each way.  Record the settings of brightness and contrast controls
  277.     on the display.  Be sure when you look at the results of your
  278.     test that you view the slides properly, either in a good viewer or
  279.     as they will be projected.  Most slides that are a half-stop
  280.     under- or over-exposed look OK when just held up to the ceiling
  281.     lights or whatever.
  282.  
  283. 6)    If your slides have a pronounced color bias you'll need to try
  284.     filtration.  Use CC ("color correction") filters, and experiment until
  285.     you succeed.  This is a complicated procedure for the amateur
  286.     photographer, but basically you'll need gelatin filters and
  287.     a gelatin filter holder, both of which can be ordered from a good
  288.     photo supply store.
  289.  
  290. 7)    A mild telephoto lens (about "portrait length"-- 85-110 mm) is best
  291.     unless you're photographing a particularly large screen.  Then
  292.     you'll want an even longer lens.  You need to be far enough back
  293.     from the display to eliminate perspective effects and to make sure
  294.     the entire screen will be held in focus.  In particular you need
  295.     to be far enough back from the screen to eliminate "bowing" of
  296.     the display due to the CRT's curvature.
  297.  
  298. 8)    A GOOD TRIPOD is essential.  A remote shutter release is almost
  299.     as essential, unless you have either a self-timer or have a very
  300.     light touch on your shutter button.
  301.  
  302. Films:  Different films react different ways to different screen
  303. phosphors.
  304.     You might have had great luck with Ektachrome 100 on your
  305.     VAXstation but that doesn't mean it'll work as well photographing
  306.     your TV.  I suggest you try Ektachrome 100 or Kodachrome 64 at
  307.     first.  If you have problems with the color balance you can always
  308.     try a couple of other slide films before proceeding to the (ugh)
  309.     filters.
  310.  
  311. If your results aren't good at first, keep trying.  Good slides of
  312. computer graphics are a little tricky to make, but not impossible.
  313.  
  314.     -joseph
  315.  
  316. (I thought I'd post this instead of replying directly, since I think
  317. it's probably of interest to a few other folks.  Sorry it it wasn't.)
  318.  
  319. /*
  320.  * We all have our own opinions here.
  321.  */
  322.  
  323.  
  324. ------------------------------
  325.  
  326. From: dtw@F.GP.CS.CMU.EDU (Duane Williams)
  327. Subject: Re: MacApp Browser
  328. Date: 19 Mar 88 01:53:22 GMT
  329. Organization: Carnegie-Mellon University, CS/RI
  330.  
  331.  
  332. Re:
  333. | I am having difficulties using the MacApp Browser ...
  334. | the browser is unable to find the source code for most of the methods
  335. | (especially those in UMacApp). Other units, e.g. UObject or UList, give
  336. | correct results.
  337.  
  338. I presume that you mean that the Browser is finding the source files,
  339. but not accurately locating the methods.  This will happen if you edit
  340. the source files after you run the Parser, which seems to just save the
  341. offset for each of the methods.  Each time you edit one of the source
  342. files you have to reparse it.  You should select the names of the files
  343. that need reparsing, select the reparse menu item (which marks the files
  344. for reparsing), and then select the parse files menu item.
  345.  
  346. (You really shouldn't be editing UMacApp at all, if that's what you're
  347. doing.)
  348. -- 
  349. uucp: ...!seismo!cmucspt!me.ri.cmu.edu!dtw
  350. arpa: dtw@cs.cmu.edu
  351.  
  352.  
  353. ------------------------------
  354.  
  355. From: wade@sdacs.ucsd.EDU (Wade Blomgren)
  356. Subject: nVIR virus - you may think you don't have it...
  357. Date: 19 Mar 88 01:49:13 GMT
  358. Organization: UCSD Academic Computing Services
  359.  
  360. An interesting thing...for some reason (I don't think it is related to
  361. the virus), when opening a System File with ResEdit while booted from
  362. that same system, a large number of resources INCLUDING 'nVIR' don't
  363. show up in the ResEdit resource list. Even stranger is the fact that
  364. although a certain number of INIT's show up, the INIT 32 from the virus
  365. does not show up.  It is only when booted from another disk  that I can
  366. see the virus related resources (as well as a number of  other
  367. resources) in that system file. Does anybody know why this is?
  368.  
  369. Anyway, check again from a separate boot disk - you may have the virus. 
  370. I thought I was fine, but upon closer examination I found I was quite 
  371. seriously affected.
  372.  
  373. Also, note that the nVIR virus does seem to infect the Finder, the DA
  374. Handler, as well as normal (APPL type) applications. I don't know  what
  375. the significance of this is as far as its ability to reproduce..
  376. -- 
  377. Wade Blomgren
  378. wade@sdacs.ucsd.edu  or ..ucsd!sdacs!wade
  379.  
  380.  
  381. ------------------------------
  382.  
  383. From: alibaba@ucscb.UCSC.EDU (Alexander M. Rosenberg)
  384. Subject: Re: nVIR virus - you may think you don't have it...
  385. Date: 19 Mar 88 06:10:25 GMT
  386. Organization: University of California, Santa Cruz; CATS
  387.  
  388. Intreuging, Captain. Are you using MultiFinder? If you are, then the
  389. reason the resources don't show up is MultiFinder, otherwise, then
  390. something very interesting is going on...
  391.  
  392. -- 
  393. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  394. ~  Alexander M. Rosenberg  ~ INTERNET: alibaba@ucscb.ucsc.edu   ~ Yoyodyne    ~
  395. ~  Crown College, UCSC     ~ UUCP:...!ucbvax!ucscc!ucscb!alibaba~ Propulsion  ~
  396. ~  Santa Cruz, CA 95064    ~ BITNET:alibaba%ucscb@ucscc.BITNET  ~ Systems     ~
  397. ~  (408) 426-8869       ~ Disclaimer: Nobody is my employer  ~ :-)         ~
  398. ~               ~ so nobody cares what I say.    ~          ~
  399.  
  400.  
  401. ------------------------------
  402.  
  403. From: chuq@plaid.Sun.COM (Chuq Von Rospach)
  404. Subject: Re: PrintMonitor -- Out of Memory Problems
  405. Date: 20 Mar 88 00:33:59 GMT
  406. Organization: Fictional Reality
  407.  
  408. >besides the finder, leaving me some 600K free. While I was investigating this
  409. >I noticed that Printmonitor was filling up its default 78K partition, and
  410. >suspecting this was the problem I increased it to 120K.
  411.  
  412. Some system disks seem to have gotten out with a 78K partition for
  413. printmonitor. The real standard size is 80k. I run mine at 82K because
  414. I'm paranoid (my disks say 78K...)
  415.  
  416.  
  417. Chuq Von Rospach            chuq@sun.COM        Delphi: CHUQ
  418.  
  419.                                Speed it up. Keep it Simple. Ship it on
  420. time.
  421.                                                             -- Bill
  422. Atkinson
  423.  
  424.  
  425. ------------------------------
  426.  
  427. From: ephraim@think.COM (ephraim vishniac)
  428. Subject: QuickerGraf 1.1
  429. Date: 20 Mar 88 00:17:21 GMT
  430. Organization: Thinking Machines Corporation, Cambridge, MA
  431.  
  432. I found QuickerGraf 1.1 on a local bulletin board today.  The benchmark
  433. timings on it are only slightly different than on 1.0, so I imagine it's
  434. a bug-fix version.  Does anyone know for certain?
  435.  
  436. Curiously, it appears to have a creation date of Mon, Feb 6, 2040; 6:28
  437. AM.
  438. -- 
  439. Ephraim Vishniac                      ephraim@think.com
  440. Thinking Machines Corporation / 245 First Street / Cambridge, MA 02142-1214
  441.  
  442.      On two occasions I have been asked, "Pray, Mr. Babbage, if you put
  443.      into the machine wrong figures, will the right answers come out?"
  444.  
  445.  
  446. ------------------------------
  447.  
  448. From: gillies@uiucdcsp.cs.uiuc.edu
  449. Subject: Re: Prototyper vs. Doing it Yourself
  450. Date: 16 Mar 88 19:14:00 GMT
  451.  
  452.  
  453. I think you can learn a lot from a prototyping tool.  You can design an
  454. elaborate user interface, and then look at the code it generates. One of
  455. the best ways to learn is by seeing and imitating.  So watch how the
  456. prototyper generates code for an application, and learn to imitate it.
  457.  
  458. Don Gillies {ihnp4!uiucdcs!gillies} U of Illinois
  459.             {gillies@p.cs.uiuc.edu}
  460.  
  461.  
  462. ------------------------------
  463.  
  464. From: pratt@boulder.Colorado.EDU (Jonathan Pratt)
  465. Subject: PrJobMerge, etc.
  466. Date: 18 Mar 88 17:48:48 GMT
  467. Organization: University of Colorado, Boulder
  468.  
  469. What is the correct way to merge print jobs when, for example, an
  470. application has been given several files to print by the Finder?  I am
  471. still using the old telephone book pre-release of IM (i-iii), and some
  472. of the statements don't seem to hold.  That is, I can't get the results
  473. of the first PrJobDialog call to apply to subsequent print jobs,
  474. regardless of calls to PrJobMerge, PrDefault, etc.  The desired settings
  475. seem to end up in PREC #1, but I doubt this should be accessed directly.
  476.  Any suggestions?
  477.  
  478. Jonathan Pratt  {pratt@boulder.colorado.edu}  University of Colorado
  479.  
  480.  
  481. ------------------------------
  482.  
  483. From: duffy@ttidca.TTI.COM (David Duffy)
  484. Subject: Hard Disk Icon
  485. Date: 18 Mar 88 20:47:12 GMT
  486. Organization: Citicorp/TTI, Santa Monica
  487.  
  488.  
  489. I want to find a way to display the icon associated with a SCSI disk in
  490. a small program I am writing, but I haven't been able to figure out how
  491. to find it. I recall from previous postings that the icon is somewhere
  492. in the driver, and I assume that the icon is loaded into memory when the
  493. disk is mounted.  Where is it, and how can I grab it?
  494.  
  495.                       Dave Duffy
  496.  
  497.  
  498. ------------------------------
  499.  
  500. From: gleicher@duke.cs.duke.edu (Michael Gleicher)
  501. Subject: Filling an arbitrary quardrangle
  502. Date: 19 Mar 88 16:56:27 GMT
  503. Organization: Duke University CS Dept.; Durham, NC
  504.  
  505. Help!
  506.  
  507. I need a routine to fill and arbitrary quadrangle, defined by 4 points
  508. in 2-space. I can't use a fill or flood type routine because there is
  509. most likely junk underneath where this polygon is going and I do not
  510. want outlines. Speed is the critical consideration.
  511.  
  512. A reference to an algorithm, or even better, some C code (I'm lazy)
  513. would be VERY much appreciated.
  514.  
  515. Thanks,
  516.     Mike
  517. -- 
  518. Michael Lee Gleicher            (-: If it looks like I'm wandering
  519.     Duke University            (-:    around like I'm lost . . .
  520. E-Mail: gleicher@cs.duke.edu)(or uucp    (-:
  521. Or P.O.B. 5899 D.S., Durham, NC 27706    (-:   It's because I am!
  522.  
  523.  
  524. ------------------------------
  525.  
  526. From: ilan_-_rabinowitz@cup.portal.com
  527. Subject: Asher Engineering ADB Trackball review.
  528. Date: 20 Mar 88 05:25:24 GMT
  529. Organization: The Portal System (TM)
  530.  
  531. I have just received my long awaited trackball from Asher Engineering.
  532. Its a handsome looking unit that fits beautifully next to my MAC ][
  533. extended keyboard.
  534.  
  535. Operating the ball feels nice, and I like the two buttons, one for
  536. clicking, and one for shift-click.  Everything works smoothly, EXCEPT:
  537.  
  538. whenever I RESET my machine, the trackball goes (zzzz) DEAD !!!!  The
  539. mouse, still connected to the otherside of the trackball works great,
  540. but NOT the trackball.  IF, on the other hand, I shutdown my machine
  541. (instead of resetting) everything is nice and dandy.. Both the trackball
  542. and the mouse work fine.
  543.  
  544. Any suggestions ??
  545.                    - ILAN Rabinowitz -  with ILANET
  546.   ilan_rabinowitz@cup.portal.com
  547.  
  548.  
  549. ------------------------------
  550.  
  551. From: stew@endor.harvard.edu (Stew Rubenstein)
  552. Subject: Re: Quickergraf bugs...
  553. Date: 21 Mar 88 01:08:39 GMT
  554. Organization: Aiken Computation Lab Harvard, Cambridge, MA
  555.  
  556. In article <7786@agate.BERKELEY.EDU> lippin@ragu.UUCP (Tom Lippincott,
  557. ..ucbvax!bosco!lippin) writes:
  558. >Recently dplatt@coherent.com (Dave Platt) said:
  559. >>Apple has apparently changed the MDEF so that it can recover gracefully
  560. >>if it can't get a pixmap big enough to save the screen pixels;
  561. >
  562. >This causes a problem for me.  Since there are so many ways for
  563. >out-of-memory problems to screw up the toolbox, I've responded by
  564. >writing a growzone function which, when it can't scrounge memory, will
  565. >unload most segments, put up an alert, and then longjmp back into the
  566. >main event loop.  But this makes some menu choices fail even when
  567. >MenuSelect could get by without the memory.
  568. >
  569. >What I want is a way to tell if a memory request is vital or not.  I
  570. >can write this into my side of the code, but I know of no way to test
  571. >this when it's a toolbox call that needs the memory.  Is there one?
  572. >Will there be one eventually?  (This is all grungy stuff that would be
  573. >better handled by the OS anyway, I say.)
  574.  
  575. Low memory handling on the Mac is a bitch.  There isn't any way to know
  576. when a memory request is critical, except to know what the toolbox needs
  577. the memory for.  You have to assume that any request is critical.  This
  578. is not far from the truth - memory allocation failures are handled very
  579. poorly by the toolbox.  In my apps, I have routines Critical() and
  580. NonCritical(), which clear and set a flag checked by the growzone
  581. function.  Then I have:
  582.  
  583.     INT32 MyMenuSelect(thePoint)
  584.         Point thePoint;
  585.     {
  586.         INT32 result;
  587.  
  588.         NonCritical();
  589.         saveGhost = GhostWindow; /* MenuSelect will not update properly */
  590.         GhostWindow = 0;     /*   if you use GhostWindow.  */
  591.         result = MenuSelect(thePoint);
  592.         GhostWindow = saveGhost;
  593.         Critical();
  594.         return result;
  595.     }
  596.  
  597. I also have a NewHandleNC() which I use for noncritical memory
  598. allocations in my own code.  Another useful trick is to allocate a
  599. couple of buffers at the start of your program so that you have
  600. something to release when the growzone proc is called.
  601.  
  602. Finally, it's important to preflight every memory request that you can. 
  603. For example, before you call a routine in another segment, do a
  604. GetResource on the right CODE segment and check to see it succeeds.  A
  605. failure to load a CODE segment causes an immediate system error.  The
  606. GetResource won't waste much time, but you have to identify all the
  607. intersegment calls and have some way of telling what segment it's in. In
  608. MPW it's easy because it names the resources.  For example:
  609.  
  610.     if (PreFlightCall(SEG_RotateFrob))
  611.       {
  612.         RotateFrob();
  613.         UnloadSeg(RotateFrobox);
  614.       }
  615.     else
  616.       {
  617.         Alert (ALRT_notEnoughMemToRotateFrob, (FilterProc) 0);
  618.       }
  619.  
  620. It's especially hard to preflight QuickDraw region operations.  I assume
  621. that an upper bound on the size of a region is proportional to the area
  622. of the bounding rectangle times an empirically derived fudge factor
  623. related to the likely complexity of the region.  You can also use MapRgn
  624. to do the operation on a scaled-down region first, as suggested in
  625. Inside Macintosh, but I find this too time consuming for most purposes.
  626. -- 
  627. Stew Rubenstein
  628. Cambridge Scientific Computing, Inc.
  629. UUCPnet:    seismo!harvard!rubenstein            CompuServe: 76525,421
  630. Internet:   rubenstein@harvard.harvard.edu       MCIMail:    CSC
  631.  
  632. ------------------------------
  633.  
  634. End of Usenet Mac Digest
  635. ************************
  636. -------
  637.